{extends file="layout.tpl"}
{block name="content"}
<div class="box-content box-list-image">
	<div class="detail-title clr _bdot _mp20">
			<span class="fl strong _f11">
				{$box_title} <img alt="" src="{url path="images/navRow.png"}">
			</span>
			<span class="fr _cl9 _f11">
				{$new['date']}
			</span>
		</div>
	<div class="mcontent">
		<ol class="w-list">
		{$i=0}
		{foreach $images as $image}
			<li class="w-item{if (($i++)%2==0)} w-event{/if} {if ($i==count($images))} w-last{/if}">
				<div class="w-row clr">
					<div class="w-image">
						<a class="a_lightbox" href="{if $image['image'] == ''} {url path="{$image['filename']}"} {else} {url path="{$image['image']}"} {/if}" title="{$image['name']}">
							{if $image['image'] == ''}
								<img alt="{$image['name']}" src="{url path="{$image['filename']}"}">
							{else}
								<img alt="{$image['name']}" src="{url path="{$image['image']}"}">
							{/if}
						</a>
					</div>
					<div class="w-info">
						<div>
							<span>Kích thước: {$image['filesize']}</span>
						</div>
						<div><span class="m-download"><img alt="Download" src="{url path="images/icon/download.gif"}" /> <a title="{__('Tải về')}" href="{$image['download']}">{__('Tải về')}</a></span></div>
					</div>
				</div>
				
			</li>
		{/foreach}
		</ol>
		{if $pagination != ''}
		<div class="paper">
			{$pagination}
		</div>
		{/if}
	</div>
</div>
{/block}